#include<stdio.h>
int main(){
	int a;
	scanf("%d",&a);
	printf("Celsius = %d",5*(a-32)/9);
}